//
//  SearchReGeocodeOptionsModel.m
//  o_amap
//
//  Created by Q神 on 2021/4/20.
//

#import "SearchReGeocodeOptionsModel.h"

@implementation SearchReGeocodeOptionsModel

- (AMapReGeocodeSearchRequest *)searchReGeocode {
    AMapReGeocodeSearchRequest *reGeo = [[AMapReGeocodeSearchRequest alloc] init];
    AMapGeoPoint *location = [[AMapGeoPoint alloc] init];
    location.latitude = [self.point.latitude doubleValue];
    location.longitude = [self.point.longitude doubleValue];
    reGeo.location = location;
    
    return reGeo;
}

@end
